<%@ page session="false" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@taglib uri="http://myfaces.apache.org/trinidad" prefix="tr"%>
<%@taglib uri="http://myfaces.apache.org/trinidad/html" prefix="trh"%>
<!-- lista załączników -->
<tr:panelGroupLayout>
<fieldset>
<legend>Pliki</legend>
<table>
	<tr:iterator value="#{orderBean.attachmentList}" id="list" var="file">
		<tr>
			<td>
				<tr:commandLink text="#{file.name} (#{file.capacity} B)"
								binding="#{orderController.attachmentIterator}"
								actionListener="#{orderController.selectAttachment}" />
			</td>
		</tr>
	</tr:iterator>
</table>
</fieldset>
</tr:panelGroupLayout>
